<template>
  <DemoSuspense datasource="/demo/FridgeFreezer/data" :control-creator="createDemoFridgeFreezerControl">
    <template #default="{ control }">
      <FridgeFreezerView :control="(control as FridgeFreezerController.Control)" />
    </template>
  </DemoSuspense>
</template>

<script setup lang="ts">
import DemoSuspense from '../DemoSuspense.vue'
import FridgeFreezerView from '../../FridgeFreezer/FridgeFreezerView.vue'
import { createDemoFridgeFreezerControl } from '@/controller/demo/FridgeFreezer'
import type { FridgeFreezerController } from '@/controller/FridgeFreezer/definition'
</script>
